//
//  PublicTableViewCell.h
//  AAIM
//
//  Created by 远的小布丁 on 2020/1/20.
//  Copyright © 2020 AAIM. All rights reserved.
//

#import "BaseTableViewCell.h"
#import "PublicModel.h"
NS_ASSUME_NONNULL_BEGIN
@protocol PublicTableViewCellDelegate <NSObject>

- (void)intoAttentionPageDelegate:(UIButton *)sender;
- (void)touchesToPublicInfoPage;
@end
@interface PublicTableViewCell : UITableViewCell
@property (nonatomic,strong) UIImageView * headerImg;
@property (nonatomic,strong) UILabel * nameLbl;
@property (nonatomic,strong) UILabel * contentLbl;
@property (nonatomic,strong) NSIndexPath *indexPath;
@property (nonatomic,strong) PublicModel * model;
@property (nonatomic,copy) NSString * cellType;
@property (nonatomic,strong) UIButton * attentionBtn;
@property (nonatomic,strong) UIButton * intoPublicBtn;
@property (nonatomic,weak) id<PublicTableViewCellDelegate>delegate;
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier withCellType:(NSString *)type;
- (CGFloat)calculationCellHeight:(NSString *)content;
@end



NS_ASSUME_NONNULL_END
